.PHONY:all
all:tcpServer.out tcpClient.out

tcpClient.out:tcpClient.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp
tcpServer.out:tcpServer.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp -DDEBUG

.PHONY:clean
clean:
	rm -f tcpServer.out tcpClient.out